<?php
/**
 * Created by PhpStorm.
 * User: cape
 * Date: 2017/11/14
 * Time: 8:52
 */
header('content-type:text/html;charset=utf-8');

$str = 'KiNg';

$res = strtolower($str);

var_dump($res,$str);

$arr = array('a', 'b', 'c');
array_pop($arr);
var_dump($arr);
echo '<hr/>';

function test($i){
    $i += 10;
    var_dump($i);
}


$i = 2;
test($i);
var_dump($i);


echo '<hr/>';
function test3(&$j){
    $j = 20;
    var_dump($j);
}


$m = 5;
test3($m);
var_dump($m);










